package com.leaf.u_spring.chapter01;

import java.io.PrintStream;

public class SlayDragonQuest implements Quest {
	
	private PrintStream printStream;
	
	public SlayDragonQuest(PrintStream printStream){
		this.printStream = printStream;
	}

	@Override
	public void embark() {
		printStream.println("Embarking on quest to slay the dragon!");
	}

}
